package com.murray.shop.background.pojo;

import java.util.List;

/**
 * @author Murray
 * @Date 2021/8/20
 * @Time 0:00
 * @Description role表和node表的实体类
 */
public class RoleNode {

private List<Node> nodeList;
private Role role;

    public List<Node> getNodeList() {
        return nodeList;
    }

    public void setNodeList(List<Node> nodeList) {
        this.nodeList = nodeList;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "RoleNode{" +
                "nodeList=" + nodeList +
                ", role=" + role +
                '}';
    }

    public RoleNode() {
    }

    public RoleNode(List<Node> nodeList, Role role) {
        this.nodeList = nodeList;
        this.role = role;
    }
}
